package cn.xdwanj.ask.config;

import io.swagger.v3.oas.models.info.Info;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author xdwanj
 */
@Slf4j
@Configuration
public class SwaggerConfig {

    @Bean
    public Info openApi() {
        return new Info().title("ask")
            .description("ask的api文档")
            .version("0.0.1");
    }
}
